using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace Scurvy.Media
{
    public class DxtContent
    {
        private Texture2D _currentTexture;
        public Texture2D CurrentTexture
        {
            get { return _currentTexture; }
            private set { _currentTexture = value; }
        }

        public DxtContent(GraphicsDeviceManager manager, Vector2 size, byte[] data)
        {
            this.CurrentTexture = new Texture2D(manager.GraphicsDevice, (int)size.X, (int)size.Y, 1, TextureUsage.None, SurfaceFormat.Dxt1);
            this.CurrentTexture.SetData<byte>(data);
        }
    }
}
